package com.example.basic.web.vo.login;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * 登录相关参数
 * @Author：syp
 * @Package：com.example.basic.web.vo.login
 * @Project：bajiao-basic
 * @name：LoginParams
 * @Date：2023/2/28 15:39
 * @Filename：LoginParams
 */
@Data
public class LoginParams {
    @ApiModelProperty("主键id")
    private String id;
    @ApiModelProperty("登录名")
    private String loginName;
    @ApiModelProperty("角色")
    private String role;

    @ApiModelProperty(value = "用户类型")
    @TableField("user_class")
    private String userClass;

    @ApiModelProperty(value = "用户类型名称")
    @TableField(exist = false)
    private String userClassName;
    @ApiModelProperty(value = "所属部门")
    @TableField("belong_dept")
    private String belongDept;

    @ApiModelProperty(value = "所属部门名称")
    @TableField(exist = false)
    private String belongDeptName;

    @ApiModelProperty(value = "负责部门")
    @TableField("responsible_dept")
    private String responsibleDept;

    @ApiModelProperty(value = "负责部门名称")
    @TableField(exist = false)
    private String responsibleDeptName;
    @ApiModelProperty("用户名")
    private String userName;
    @ApiModelProperty("用户编码")
    private String userCode;
    @ApiModelProperty("菜单信息")
    private List<Map<String, Object>> menuList;


    private String token;
}
